# $Id: PKGBUILD 66000 2012-02-22 14:16:47Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# This PKGBUILD was autocreated.  See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-xml-stream
pkgver=1.23
pkgrel=2
pkgdesc="Perl/CPAN Module XML::Stream : Module for handling XML Streams"
arch=(any)
url="http://search.cpan.org/dist/XML-Stream"
license=("GPL" "PerlArtistic")
makedepends=("perl-authen-sasl")
depends=("perl-authen-sasl")
source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAPATRICK/XML-Stream-$pkgver.tar.gz")
md5sums=('1c0908384fe57a1c3c529071a8b882af')

build() {
  cd $srcdir/XML-Stream-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
